package com.example.demo.service;

import com.example.demo.entity.LabCategory;
import java.util.List;
import java.util.Optional;

public interface LabCategoryService {
    LabCategory createCategory(LabCategory category);
    LabCategory updateCategory(LabCategory category);
    void deleteCategory(Long id);
    Optional<LabCategory> getCategoryById(Long id);
    Optional<LabCategory> getCategoryByName(String name);
    List<LabCategory> getAllCategories();
} 